import request from "../../utils/request";
//获取sku照片列表
export const reqSpuImageList = spuId => {
  return request({
    method: "GET",
    url: `/admin/product/spuImageList/${spuId}`
  });
};
// 添加sku
export const reqSaveSku = data => {
  return request({
    method: "POST",
    url: `/admin/product/saveSkuInfo`,
    data
  });
};
// 获取sku列表
export const reqSkuList = (page, limit) => {
  return request({
    method: "GET",
    url: `/admin/product/list/${page}/${limit}`
  });
};
